package com.kgc.mall.service;

import com.kgc.mall.pojo.User;

import java.util.List;

public interface UserService {

    List<User> getUserInfoByPage(String loginName,
                                 String userName,
                                 int pageNum,
                                 int pageSize);

    int addUserInfo(User user);

    int updateUserInfo(User user);

    User getUserInfo(int userId);

    int deleteUserByUid(int userId);

    long getUserTotalCount( String loginName,String userName);
}
